home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Sciences / Mole 1 / card_10173.txt < prev    next >
Text File  |  1990-06-19  |  3KB  |  141 lines

  1. -- card: 10173 from stack: in
  2. -- bmap block id: 10481
  3. -- flags: 0000
  4. -- background id: 2601
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 01
  10. -- high flags: 0004
  11. -- rect: left=194 top=109 right=189 bottom=328
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 3
  16. -- text size: 18
  17. -- style flags: 0
  18. -- line height: 24
  19. -- part name: See Ans
  20. ----- HyperTalk script -----
  21. on mouseup
  22.   global flag
  23.   if flag = 0 then
  24.     hide card field "See Ans"
  25.     wait 2 seconds
  26.     show card field "See Ans"
  27.   else
  28.     put zero into flag
  29.     put"Click Here" into line 1 of card field "See Ans"
  30.     put"to" into line 2 of card field "See Ans"
  31.     put"See Answer" into line 3 of card field "See Ans"
  32.     show card field "See sol"
  33.  
  34.   end if
  35.  
  36. end mouseup
  37.  
  38.  
  39. -- part 2 (field)
  40. -- low flags: 01
  41. -- high flags: 0004
  42. -- rect: left=90 top=199 right=317 bottom=479
  43. -- title width / last selected line: 0
  44. -- icon id / first selected line: 0 / 0
  45. -- text alignment: 1
  46. -- font id: 3
  47. -- text size: 24
  48. -- style flags: 0
  49. -- line height: 32
  50. -- part name: See Sol
  51. ----- HyperTalk script -----
  52.  
  53. on mouseup
  54.   global flag
  55.   put 1 into flag
  56.   hide card field "See Sol"
  57.   put empty into card field "See Ans"
  58.   put"Click Here" into line 1 of card field "See Ans"
  59.   put"to" into line 2 of card field "See Ans"
  60.   put"Hide Solution" into line 3 of card field "See Ans"
  61.   show card field "See Ans"
  62. end mouseup
  63.  
  64.  
  65.  
  66. -- part 3 (button)
  67. -- low flags: 00
  68. -- high flags: 8003
  69. -- rect: left=427 top=102 right=136 bottom=496
  70. -- title width / last selected line: 0
  71. -- icon id / first selected line: 0 / 0
  72. -- text alignment: 1
  73. -- font id: 0
  74. -- text size: 12
  75. -- style flags: 0
  76. -- line height: 16
  77. -- part name: Menu
  78. ----- HyperTalk script -----
  79. on mouseUp
  80.   global flag
  81.   put 1 into flag
  82.   send mouseup to card field "see Ans"
  83.   go to card menu
  84. end mouseUp
  85.  
  86.  
  87.  
  88. -- part 4 (button)
  89. -- low flags: 00
  90. -- high flags: 8003
  91. -- rect: left=427 top=142 right=191 bottom=496
  92. -- title width / last selected line: 0
  93. -- icon id / first selected line: 27009 / 27009
  94. -- text alignment: 1
  95. -- font id: 0
  96. -- text size: 12
  97. -- style flags: 0
  98. -- line height: 16
  99. -- part name: Next Prob.
  100. ----- HyperTalk script -----
  101. on mouseUp
  102.   global flag
  103.   put 1 into flag
  104.   send mouseup to card field "see Ans"
  105.   visual dissolve slow to grey
  106.   go to next card
  107. end mouseUp
  108.  
  109.  
  110.  
  111. -- part 6 (button)
  112. -- low flags: 00
  113. -- high flags: 8002
  114. -- rect: left=5 top=286 right=331 bottom=86
  115. -- title width / last selected line: 0
  116. -- icon id / first selected line: 0 / 0
  117. -- text alignment: 1
  118. -- font id: 0
  119. -- text size: 12
  120. -- style flags: 0
  121. -- line height: 16
  122. -- part name: MolarMass
  123. ----- HyperTalk script -----
  124. on mouseUp
  125.   hide card button "MolarMass"
  126.   wait 1 seconds
  127.   Show card button "MolarMass"
  128. end mouseUp
  129.  
  130.  
  131.  
  132. -- part contents for card part 2
  133. ----- text -----
  134.  
  135. Click Here to See Solution
  136.  
  137. -- part contents for card part 1
  138. ----- text -----
  139. Click Here
  140. to
  141. See Answer